package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 金蝶-基础数据-收款条件/付款条件对象 erp_king_base_receipt_condition_info
 *
 * @author wutao
 * @date 2024-06-26
 */
@TableName ( "erp_king_base_receipt_pay_condition_info" )
@ApiModel ( value = "erp_king_base_receipt_condition_info对象", description = "金蝶-基础数据-收款条件/付款条件" )
@Data
public class KingBaseReceiptPayConditionEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId ( value = "id", type = IdType.INPUT )
    private String id;

    /**
     * 编码，文本
     */
    @ApiModelProperty ( "所属公司" )
    @TableField ( "dept_id" )
    @Excel ( name = "所属公司" )
    private String deptId;

    /**
     * 编码，文本
     */
    @ApiModelProperty ( "编码，文本" )
    @TableField ( "condition_code" )
    @Excel ( name = "编码，文本" )
    private String conditionCode;

    /**
     * 名称
     */
    @ApiModelProperty ( "名称" )
    @TableField ( "title" )
    @Excel ( name = "名称" )
    private String title;

    /**
     * 到期日计算日期,1:订单日期;2:应收单业务日期;3:出库日期;该字段用于判断具体通过哪个日期收款
     */
    @ApiModelProperty ( "到期日计算日期,1:订单日期;2:应收单业务日期;3:出库日期;该字段用于判断具体通过哪个日期收款" )
    @TableField ( "due_time" )
    @Excel ( name = "到期日计算日期,1:订单日期;2:应收单业务日期;3:出库日期;该字段用于判断具体通过哪个日期收款" )
    private Integer dueTime;

    /**
     * 收款方式;1:按到期日收款;2:按订单收款;3:按物料明细收款;
     */
    @ApiModelProperty ( "收款方式;1:按到期日收款;2:按订单收款;3:按物料明细收款;" )
    @TableField ( "receipt_type" )
    @Excel ( name = "收款方式;1:按到期日收款;2:按订单收款;3:按物料明细收款;" )
    private Integer receiptType;

    /**
     * 多到期日设置标准;1:按比例;2:按金额
     */
    @ApiModelProperty ( "多到期日设置标准;1:按比例;2:按金额" )
    @TableField ( "due_set_standard" )
    @Excel ( name = "多到期日设置标准;1:按比例;2:按金额" )
    private Integer dueSetStandard;

    /**
     * 描述
     */
    @ApiModelProperty ( "描述" )
    @TableField ( "condition_desc" )
    @Excel ( name = "描述" )
    private String conditionDesc;

    @ApiModelProperty ( "预收/预付比例核销；1：是(打勾);2：否(不打勾)" )
    @TableField ( "radio_verification" )
    @Excel ( name = "预收/预付比例核销" )
    private String radioVerification;

    /**
     * 类型;1:收款条件(应收单使用);2:付款条件(应付单使用)
     */
    @ApiModelProperty ( "类型;1:收款条件(应收单使用);2:付款条件(应付单使用)" )
    @TableField ( "type" )
    @Excel ( name = "类型;1:收款条件(应收单使用);2:付款条件(应付单使用)" )
    private Integer type;

    @ApiModelProperty ( "创建人" )
    @TableField ( "create_by" )
    private String createBy;

    @ApiModelProperty ( "创建时间" )
    @TableField ( "create_time" )
    private Date createTime;

    @ApiModelProperty ( "更新人" )
    @TableField ( "update_by" )
    private String updateBy;

    @ApiModelProperty ( "更新时间" )
    @TableField ( "update_time" )
    private Date updateTime;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否禁用；1；正常；2：禁用" )
    @TableField ( "is_disabled" )
    @Excel ( name = "是否可用" )
    private Integer isDisabled;

    /**
     * 是否可用
     */
    @ApiModelProperty ( "是否可用" )
    @TableField ( "is_used" )
    @Excel ( name = "是否可用" )
    private Integer isUsed;

    @ApiModelProperty ("是否可用")
    @TableField ("is_del")
    @Excel (name = "是否可用")
    private Integer isDel;

}
